package com.hp.ssmp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hp.ssmp.entity.TGoodsCategory;
import com.hp.ssmp.entity.dto.TGoodsCategoryDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<TGoodsCategory> {
    List<TGoodsCategoryDto> findAll();
    List<TGoodsCategory> getLevelList(Long level);
}
